package com.hlx.entity.user;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;
import java.time.LocalDate;

@Data
public class Ticket {
    private Integer id;
    private Integer trainId;
    private Integer startId;
    private Integer arriveId;
    private float price;
    private Integer seatType;
    private Integer discountType;
    private Integer personId;
//    0：未支付 1：已支付未出行 2：已出行
    private Integer status;

    @JsonFormat(timezone = "GMT+8")
    private LocalDate date;
}
